The TextField Component >Properties> border

 

FTextField.border

Availability

Flash Player 6.

Usage

myTextField_txf.border = bool

 

Description

This property takes a Boolean value which specifies whether a border should be displayed around the text field.

 

Example

The text_simple_example.fla example file contains an example of using this method.

The following code sets the borderType to bevel and sets the bevelColor and then sets it to show.

myTextField_txf.borderType="bevel";
myTextField_txf.borderColor=0xFFFFFF;
myTextField_txf.border = true;

See also

FTextField.borderColor

FTextField.borderType